.purchase-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.purchase-header {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: var(--grey);
    font-size: 2em;
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2em 1em;
    box-sizing: border-box;
    z-index: 2;
}

.purchase-header .back {
   cursor: pointer;
}

.purchase-header .hidden {
    visibility: hidden;
}

.purchase-content {
    flex-grow: 1;
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    background-color: var(--light-grey);
    gap: 0.5em;
}

.purchase-content .row {
    padding: 1em 2em;
    margin: 0;
    background-color: white;
}

.purchase-content .prop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4em;
}

.purchase-content .prop input {
    flex-grow: 1;
    height: 100%;
    outline: none;
    border: none;
    text-align: right;
}

.purchase-content .address-container {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em 2em;
}

.purchase-content .address-container svg {
    font-size: 3em;
}

.purchase-content .address-container .address {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.purchase-content .split-line {
    height: 5px;
    background: repeating-linear-gradient(
            to right,
            transparent 0,
            transparent 10%,
            #ff6c6c 10%,
            #ff6c6c 40%,
            transparent 40%,
            transparent 60%,
            #1989fa 60%,
            #1989fa 90%,
            transparent 90%,
            transparent 100%);
    transform: skewX(-45deg);
    background-size: 40px;
}

.purchase-content .item-info-container {
    display: flex;
    gap: 1em;
}

.purchase-content .item-info-container .left {
    width: 10em;
    flex-shrink: 0;
    border-radius: 1em;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.purchase-content .item-info-container .left img {
    max-width: 100%;
    max-height: 100%;
}

.purchase-content .item-info-container .right {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.purchase-content .item-info-container .right label {
    font-size: 1.5em;
    font-weight: bolder;
}

.purchase-content .item-info-container .right span {
    font-size: 1.2em;
}

.purchase-content .submit-container {
    position: sticky;
    bottom: 0;
    display: flex;
    background-color: white;
    align-items: center;
    padding-left: 1em;
}

.purchase-content .submit-container .price {
    color: orangered;
    font-size: 1.2em;
    font-weight: bolder;
}

.purchase-content .submit-container .submit-btn {
    cursor: pointer;
    background-color: orangered;
    color: white;
    padding: 0.5em 1em;
    font-size: 1.5em;
    font-weight: bolder;
    user-select: none;
}

.purchase-content .submit-container .submit-btn:hover {
    background-color: red;
}

.purchase-content .needPay {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.purchase-content .pay-select {
    cursor: pointer;
}

.purchase-content .pay-select .icon {
    display: flex;
    align-items: center;
    gap: 1em;
}

.purchase-content .pay-select .icon img{
    width: 3em;
    height: 3em;
}

.purchase-content .pay-select .icon b {
    font-size: 1.5em;
}

.purchase-content .big-btn {
    padding: 0.5em 0;
    font-size: 1.5em;
    font-weight: bolder;
    background-color: orangered;
    color: white;
    text-align: center;
    cursor: pointer;
    border-radius: 0.5em;
    user-select: none;
}

.purchase-content .big-btn:hover {
    background-color: red;
}

.purchase-content .big-btn.white {
    background-color: white;
    color: black;
    border: 1px solid var(--dark-grey);
}

.purchase-content .big-btn.white:hover {
    background-color: var(--light-grey);
}

.purchase-content .order-status-container {
    background-color: orangered;
    color: white;
    display: flex;
    align-items: center;
    padding: 1.5em;
    gap: 0.5em;
}

.purchase-content .order-status-container img {
    width: 3em;
    height: 3em;
    fill: white;
}

@media (orientation: landscape) {
    .purchase-content {
        padding: 0.5em;
    }
}

@media (orientation: portrait) {
    .purchase-content .big-btn {
        margin: 0 0.4em;
    }
}